﻿using System;

namespace Students
{

    public class Student
    {

        //Write a method that from a given array of 
        //students finds all students whose first name is 
        //before its last name alphabetically. Use LINQ query operators.

        public Student(string fname, string lname)
        {
            this.Fname = fname;
            this.Lname = lname;
        }
        private string fname;

        public string Fname
        {
            get { return fname; }
            set { fname = value; }
        }
        private string lname;

        public string Lname
        {
            get { return lname; }
            set { lname = value; }
        }
    }
}